﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RSALicCore
{
    class ByteArrayCompare
    {
        public static bool IsEqual(byte[] l, byte[] r)
        {
            if (l.Length != r.Length)
            {
                return false;
            }

            for (int i = 0; i < l.Length; i++)
            {
                if (l[i] != r[i])
                {
                    return false;
                }
            }

            return true;
        }
    }
}
